package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialCashRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialCashPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialCashDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialCashDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialCashDomainImpl extends BaseDomainImpl<ContractInitialCashDto, ContractInitialCashPo> implements ContractInitialCashDomain {

    @Resource
    private ContractInitialCashRepository contractInitialCashRepository;

    @Override
    public BaseRepository<ContractInitialCashPo> getMapper() {
        return contractInitialCashRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialCashPo>> getRepositoryClass() {
        return ContractInitialCashRepository.class;
    }

}
